package com.mashibing.tank.factory;

import com.mashibing.tank.pojo.Tank;

import java.awt.*;

/**
 * @ClassName AbstractBullet
 * @Description TODO
 * @Author zhangjunhao
 * @DATE 2023/8/29 18:14
 */
public abstract class BaseBullet {

    public abstract void paint(Graphics g);

    public abstract void collideWith(Tank tank);
}
